<body>
<iframe id="i" src="about:blank"></iframe>
<script>
window.onorientationchange = function() {
    document.getElementById("i").remove();
}
</script>
</frame>
